public class Derived extends Base{
    public void Derivedfunc(){
        System.out.println("derived::func");
    }
    public void Basefunc(){
        System.out.println("base::func");
    }
    public void Basefunc(int a){
        System.out.println(a);
    }

    public void Method(){
        Derivedfunc();
        Basefunc();
        Basefunc(20);
    }

    public static void main(String[] args) {
        Derived num = new Derived();
        num.Method();
    }
}
